package com.zhishu.service.impl;

import com.zhishu.entity.Person;
import com.zhishu.mapper.PersonMapper;
import com.zhishu.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImplPersonService implements PersonService {
    @Autowired
    PersonMapper personMapper;

    @Override
    public Person selectPersonByid(String pid) {

        return personMapper.selectPersonByid(pid);
    }
}
